import axios from './axios';
import url from './serverAPI.config';

export default {
  login: (data: any) => {
    return axios({
      url: url.login,
      method: 'post',
      data: data,
    });
  },
  indexInfo: (data: any) => {
    return axios({
      url: url.indexInfo,
      method: 'post',
      data: data,
    });
  },
  manageIndex: (data: any) => {
    return axios({
      url: url.manageIndex,
      method: 'post',
      data: data,
    });
  },
  concatInfo: (data: any) => {
    return axios({
      url: url.concatInfo,
      method: 'post',
      data: data,
    });
  },
  manageConcat: (data: any) => {
    return axios({
      url: url.manageconcat,
      method: 'post',
      data: data,
    });
  },
  bussinessGet: (data: any) => {
    return axios({
      url: url.bussinessGet,
      method: 'post',
      data: data,
    });
  },
  activeGet: (data: any) => {
    return axios({
      url: url.activeGet,
      method: 'post',
      data: data,
    });
  },
  activeAdd: (data: any) => {
    return axios({
      url: url.activeAdd,
      method: 'post',
      data: data,
    });
  },
  activeUpdate: (data: any) => {
    return axios({
      url: url.activeUpdate,
      method: 'post',
      data: data,
    });
  },
  activeDelete: (data: any) => {
    return axios({
      url: url.activeDelete,
      method: 'post',
      data: data,
    });
  },
  uniGet: (data: any) => {
    return axios({
      url: url.uniGet,
      method: 'post',
      data: data,
    });
  },
  uniAdd: (data: any) => {
    return axios({
      url: url.uniAdd,
      method: 'post',
      data: data,
    });
  },
  uniUpdate: (data: any) => {
    return axios({
      url: url.uniUpdate,
      method: 'post',
      data: data,
    });
  },
  uniDelete: (data: any) => {
    return axios({
      url: url.uniDelete,
      method: 'post',
      data: data,
    });
  },
  uSchoolManageList: (data: any) => {
    return axios({
      url: url.uSchoolManageList,
      method: 'post',
      data: data,
    });
  },
  uSchoolManageAdd: (data: any) => {
    return axios({
      url: url.uSchoolManageAdd,
      method: 'post',
      data: data,
    });
  },
  uSchoolManageDelete: (data: any) => {
    return axios({
      url: url.uSchoolManageDelete,
      method: 'post',
      data: data,
    });
  },
  uSchoolManageUpdate: (data: any) => {
    return axios({
      url: url.uSchoolManageUpdate,
      method: 'post',
      data: data,
    });
  },
  uBusinessManageGround: (data: any) => {
    return axios({
      url: url.uBusinessManageGround,
      method: 'post',
      data: data,
    });
  },
  uSchoolEnter: () => {
    return axios({
      url: url.uSchoolEnter,
      method: 'post',
      data: {},
    });
  },
  uSchoolList: (data: any) => {
    return axios({
      url: url.uSchoolList,
      method: 'post',
      data: data,
    });
  },
  uSchoolAdd: (data: any) => {
    return axios({
      url: url.uSchoolAdd,
      method: 'post',
      data: data,
    });
  },
  uSchoolDelete: (data: any) => {
    return axios({
      url: url.uSchoolDelete,
      method: 'post',
      data: data,
    });
  },
  uSchoolUpdate: (data: any) => {
    return axios({
      url: url.uSchoolUpdate,
      method: 'post',
      data: data,
    });
  },
  uTypeList: () => {
    return axios({
      url: url.uTypeList,
      method: 'post',
      data: {},
    });
  },
  uTopList: (data: any) => {
    return axios({
      url: url.uTopList,
      method: 'post',
      data: data,
    });
  },
  uBusinessManageAdd: (data: any) => {
    return axios({
      url: url.uBusinessManageAdd,
      method: 'post',
      data: data,
    });
  },
  uBusinessManageList: (data: any) => {
    return axios({
      url: url.uBusinessManageList,
      method: 'post',
      data: data,
    });
  },
  uBusinessManageDelete: (data: any) => {
    return axios({
      url: url.uBusinessManageDelete,
      method: 'post',
      data: data,
    });
  },
  uBusinessManageUpdate: (data: any) => {
    return axios({
      url: url.uBusinessManageUpdate,
      method: 'post',
      data: data,
    });
  },
  uBusinessEnterTop: (data: any) => {
    return axios({
      url: url.uBusinessEnterTop,
      method: 'post',
      data: data,
    });
  },
  uTicketAdd: (data: any) => {
    return axios({
      url: url.uTicketAdd,
      method: 'post',
      data: data,
    });
  },
  uTicketList: (data: any) => {
    return axios({
      url: url.uTicketList,
      method: 'post',
      data: data,
    });
  },
  uTicketDelete: (data: any) => {
    return axios({
      url: url.uTicketDelete,
      method: 'post',
      data: data,
    });
  },
  uTicketUpdate: (data: any) => {
    return axios({
      url: url.uTicketUpdate,
      method: 'post',
      data: data,
    });
  },
  uOrderManageList: (data: any) => {
    return axios({
      url: url.uOrderManageList,
      method: 'post',
      data: data,
    });
  },

  topAreaList: (data: any) => {
    return axios({
      url: url.topAreaList,
      method: 'post',
      data: data,
    });
  },
  topAreaAdd: (data: any) => {
    return axios({
      url: url.topAreaAdd,
      method: 'post',
      data: data,
    });
  },
  topAreaDelete: (data: any) => {
    return axios({
      url: url.topAreaDelete,
      method: 'post',
      data: data,
    });
  },
  topAreaUpdate: (data: any) => {
    return axios({
      url: url.topAreaUpdate,
      method: 'post',
      data: data,
    });
  },
  uOrderBusList: (data: any) => {
    return axios({
      url: url.uOrderBusList,
      method: 'post',
      data: data,
    });
  },
  uOrderBusListTimeout: (data: any) => {
    return axios({
      url: url.uOrderBusListTimeout,
      method: 'post',
      data: data,
    });
  },
  uOrderCheck: (data: any) => {
    return axios({
      url: url.uOrderCheck,
      method: 'post',
      data: data,
    });
  },
  uOrderCheckUptate: (data: any) => {
    return axios({
      url: url.uOrderCheckUptate,
      method: 'post',
      data: data,
    });
  },
  uOrderCheckManage: (data: any) => {
    return axios({
      url: url.uOrderCheckManage,
      method: 'post',
      data: data,
    });
  },
  addReciver: (data: any) => {
    return axios({
      url: url.addReciver,
      method: 'post',
      data: data,
    });
  },
  handleAccount: (data: any) => {
    return axios({
      url: url.handleAccount,
      method: 'post',
      data: data,
    });
  },
  handleAccountResult: (data: any) => {
    return axios({
      url: url.handleAccountResult,
      method: 'post',
      data: data,
    });
  },
  uOrderToPay: (data: any) => {
    return axios({
      url: url.uOrderToPay,
      method: 'post',
      data: data,
    });
  },
  nsTypeList: (data: any) => {
    return axios({
      url: url.nsTypeList,
      method: 'post',
      data: data,
    });
  },
  nsBusinessManageList: (data: any) => {
    return axios({
      url: url.nsBusinessManageList,
      method: 'post',
      data: data,
    });
  },
  nsBusinessAdd: (data: any) => {
    return axios({
      url: url.nsBusinessAdd,
      method: 'post',
      data: data,
    });
  },
  nsBusinessEdit: (data: any) => {
    return axios({
      url: url.nsBusinessEdit,
      method: 'post',
      data: data,
    });
  },
  nsOrderManageList: (data: any) => {
    return axios({
      url: url.nsOrderManageList,
      method: 'post',
      data: data,
    });
  },
  nsTelTextList: (data: any) => {
    return axios({
      url: url.nsTelTextList,
      method: 'post',
      data: data,
    });
  },
  nsTelTextEdit: (data: any) => {
    return axios({
      url: url.nsTelTextEdit,
      method: 'post',
      data: data,
    });
  },
  nsTelTextAdd: (data: any) => {
    return axios({
      url: url.nsTelTextAdd,
      method: 'post',
      data: data,
    });
  },
  versionUpdate: (data: any) => {
    return axios({
      url: url.versionUpdate,
      method: 'post',
      data: data,
    });
  },
  uPayTimeout: (data: any) => {
    return axios({
      url: url.uPayTimeout,
      method: 'post',
      data: data,
    });
  },
};
